#ifndef _UPDATECONTROLLER_H_
#define _UPDATECONTROLLER_H_
#pragma once
#include<osg/NodeCallback>
#include "LoaderMap.h"
using namespace osg;

class Model;
class UpdateController : public NodeCallback
{
private:
	ref_ptr<LoaderMap> view;
public :
	virtual void operator()(Node* node, NodeVisitor* nv);
	void setLoaderMap(ref_ptr<LoaderMap> view){
		this->view = view;
	}
protected : 
	virtual ~UpdateController(){};
};
#endif